package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.WwGroupTagsRelation;
import com.xjscrm.console.param.group.WwGroupTagsRelationQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WwGroupTagsRelationMapper {
    List<WwGroupTagsRelation> getWwGroupTagsRelationList(WwGroupTagsRelationQuery wwGroupTagsRelationQuery);

    void deleById(@Param("id") Long id, @Param("merId") Long merId);

    int addWwGroupTagsRelation(WwGroupTagsRelation wwGroupTagsRelation);

    List<WwGroupTagsRelation> selectListByGroupId(@Param("merId") Long merId, @Param("deviceId") String deviceId, @Param("groupId") String groupId);
}
